package com.canaan.business.job;

import com.canaan.business.service.storehouse.IWmsStorehouseStockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description 库存预警
 * @author canaan
 * @date 2023/3/7 09:19:50
 * @version: 1.0
 */
@Component("InventoryAlertJob")
public class InventoryAlertJob {

    @Autowired
    private IWmsStorehouseStockService storehouseStockService;

    public void InventoryAlert() {
        System.out.println("************开始执行库存预警定时任务************");
        this.storehouseStockService.inventoryAlert();
        System.out.println("************结束执行库存预警定时任务************");
    }
}
